"""
核心服务模块 - MoBox Docker镜像更新系统

这个模块包含了镜像更新系统的核心业务逻辑，遵循单一职责原则，
每个服务专注于特定的业务领域。

核心服务:
- ImageVerificationService: 镜像版本校验和容器状态检查
- ContainerManagementService: Docker容器管理操作
- PatternMatchingService: 模式匹配和URL构建
- WorkflowOrchestrator: 智能更新流程编排

数据类型:
- 定义在 types.py 中，提供类型安全保障
"""

from .types import (
    # 枚举类型
    ContainerStatus,
    ActionType,
    StepType,
    
    # 数据类
    ImageInfo,
    ContainerInfo,
    VerificationResult,
    OperationResult,
    WorkflowResult,
    StepContext,
    StepResult,
    ContainerConfig,
    SchoolConfig
)

from .image_verification_service import ImageVerificationService
from .container_management_service import ContainerManagementService
from .pattern_matching_service import PatternMatchingService
from .workflow_orchestrator import WorkflowOrchestrator


__all__ = [
    # 枚举类型
    'ContainerStatus',
    'ActionType',
    'StepType',
    
    # 数据类
    'ImageInfo',
    'ContainerInfo',
    'VerificationResult',
    'OperationResult',
    'WorkflowResult',
    'StepContext',
    'StepResult',
    'ContainerConfig',
    'SchoolConfig',
    
    # 服务类
    'ImageVerificationService',
    'ContainerManagementService',
    'PatternMatchingService',
    'WorkflowOrchestrator'
]